package com.wss.module.main.ui.page;

import com.wss.common.base.BaseActionBarAbility;
import com.wss.common.base.mvp.BasePresenter;
import com.wss.common.utils.ColorUtils;
import com.wss.common.widget.StrongRadioGroup;
import com.wss.module.main.ResourceTable;
import ohos.aafwk.content.Intent;
import ohos.agp.components.Text;
import ohos.agp.components.element.ShapeElement;

/**
 * Describe：可添加多View的RadioGroup
 * Created by 吴天强 on 2019/3/18.
 */
public class RadioGroupAbility extends BaseActionBarAbility {

    private StrongRadioGroup mainTab;
    private Text tvCount;

    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);

        initView();

    }

    @Override
    protected int getLayoutId() {
        return ResourceTable.Layout_ability_radio_group_activity;
    }

    @Override
    protected BasePresenter createPresenter() {
        return null;
    }

    private void initView() {
        mainTab = (StrongRadioGroup) findComponentById(ResourceTable.Id_mg);
        tvCount = (Text) findComponentById(ResourceTable.Id_tv_count);

        setCenterText("自定义RadioGroup");

    }
}
